
convert_note.o:     file format elf32-littlearm


Disassembly of section .text:

00000000 <main>:
	int b;
	unsigned char c;
}bstruct;

int main()
{
   0:	e92d4800 	push	{fp, lr}
   4:	e28db004 	add	fp, sp, #4
   8:	e24dd020 	sub	sp, sp, #32

	bstruct bs;
	bstruct * pbs;


	as.a = 250;
   c:	e3a030fa 	mov	r3, #250	; 0xfa
  10:	e50b3014 	str	r3, [fp, #-20]	; 0xffffffec
	as.b = 'x';
  14:	e3a03078 	mov	r3, #120	; 0x78
  18:	e54b3010 	strb	r3, [fp, #-16]

	bs.a = 'i';
  1c:	e3a03069 	mov	r3, #105	; 0x69
  20:	e54b3020 	strb	r3, [fp, #-32]	; 0xffffffe0
	bs.b = 255;
  24:	e3a030ff 	mov	r3, #255	; 0xff
  28:	e50b301c 	str	r3, [fp, #-28]	; 0xffffffe4
	bs.c = 'o';
  2c:	e3a0306f 	mov	r3, #111	; 0x6f
  30:	e54b3018 	strb	r3, [fp, #-24]	; 0xffffffe8

	// bs = (bs)as;	error.

	pbs = (bstruct *)&as;
  34:	e24b3014 	sub	r3, fp, #20 ; as
  38:	e50b3008 	str	r3, [fp, #-8] ; pbs
	#if 1
	printf("%d = %c\n", pbs->a, pbs->b);
  3c:	e51b3008 	ldr	r3, [fp, #-8]
  40:	e5d33000 	ldrb	r3, [r3]
  44:	e1a01003 	mov	r1, r3
  48:	e51b3008 	ldr	r3, [fp, #-8]
  4c:	e5933004 	ldr	r3, [r3, #4]
  50:	e1a02003 	mov	r2, r3
  54:	e59f0034 	ldr	r0, [pc, #52]	; 90 <main+0x90>
  58:	ebfffffe 	bl	0 <printf>
	#else
	printf("%c = %d\n", pbs->a, pbs->b);
	#endif
	//printf("%c\n", pbs->c);

	pas = (astruct *)&bs;
  5c:	e24b3020 	sub	r3, fp, #32
  60:	e50b300c 	str	r3, [fp, #-12]
	#if 1
	printf("%c = %d \n", pas->a, pas->b);
  64:	e51b300c 	ldr	r3, [fp, #-12]
  68:	e5931000 	ldr	r1, [r3]
  6c:	e51b300c 	ldr	r3, [fp, #-12]
  70:	e5d33004 	ldrb	r3, [r3, #4]
  74:	e1a02003 	mov	r2, r3
  78:	e59f0014 	ldr	r0, [pc, #20]	; 94 <main+0x94>
  7c:	ebfffffe 	bl	0 <printf>
	#else
	printf("%d = %c \n", pas->a, pas->b);
	#endif

	return 0;
  80:	e3a03000 	mov	r3, #0
}
  84:	e1a00003 	mov	r0, r3
  88:	e24bd004 	sub	sp, fp, #4
  8c:	e8bd8800 	pop	{fp, pc}
  90:	00000000 	.word	0x00000000
  94:	0000000c 	.word	0x0000000c
